<template>
	<view class="dynamics-search">
		<view class="camera">
			<image src="/static/icon/xiangji.png" mode="aspectFit"></image>
		</view>
		<view class="search-input">
			<view class="search-icon">
				
			</view>
			<text>搜索关键字</text>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['systemBarHeight'],
		data() {
			return {
				
			}
		},
		created() {
			console.log(this.systemBarHeight)
		}
	}
</script>

<style lang="scss" scoped>
	.dynamics-search {
		display: flex;
		background-color: #f8f8f8;
		margin-top: var(--systemBarHeight);
		.search-input {
			width: 760rpx;
			height: 72rpx;
			display: flex;
			align-items: center;
			.search-icon {
				width: 52rpx;
				height: 52rpx;
				background-image: url("/static/icon/search.png");
				background-repeat: no-repeat;
				background-size: 100% 100%;
				margin: 0 28rpx;
			}
			text {
				color: #7b7b7b;
			}
		}
		.camera {
			flex: 1;
			display: flex;
			justify-content: center;
			align-items: center;
			background-color: white;
			image {
				width: 56rpx;
				height: 56rpx;
				margin: 0 40rpx 0 4rpx;
			}
		}
	}
</style>